package com.zxw.java基础.引用传递.参数;

/**
 * @projectName: util-cloud
 * @package: com.zxw.java基础.引用传递.参数
 * @className: User
 * @author: zhangxuewei
 * @description: TODO
 * @date: 2023/9/23 14:14
 * @version: 1.0
 */
public class User {

    private String name;

    public User(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                '}';
    }
}
